<template>
  <el-card shadow="never">
    <div slot="header" class="card-header">
      <span>监控清单</span>
    </div>
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="columnA" label="监控点编号"> </el-table-column>
      <el-table-column prop="columnB" label="正常开通"> </el-table-column>
      <el-table-column prop="columnC" label="沉默用户数量"> </el-table-column>
      <el-table-column prop="columnD" label="沉默用户占比（%）">
      </el-table-column>
      <el-table-column prop="columnE" label="监控时间"> </el-table-column>
    </el-table>
    <div class="pagination">
      <Pagination />
    </div>
  </el-card>
</template>

<script>
import Pagination from './Pagination'
export default {
  components: {
    Pagination
  },

  data() {
    return {
      tableData: [
        {
          columnA: 'S21551',
          columnB: '是',
          columnC: '3256',
          columnD: '0.1',
          columnE: '2020.3'
        },
        {
          columnA: 'S22341',
          columnB: '是',
          columnC: '3288',
          columnD: '0.3',
          columnE: '2020.2'
        },
        {
          columnA: 'S23892',
          columnB: '是',
          columnC: '3212',
          columnD: '0.4',
          columnE: '2020.1'
        },
        {
          columnA: 'S32312',
          columnB: '是',
          columnC: '3233',
          columnD: '0.7',
          columnE: '2020.2'
        }
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.pagination {
  float: right;
  margin: 10px;
}
</style>
